/***
example
***/
.example {
  .example-tools {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .example-toggle,
  .example-copy {
    height: 34px;
    width: 34px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 0.25rem;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    cursor: pointer;
    font-size: 1.15rem;
    color: #b5b5c3;
  }

  .example-toggle:hover,
  .example-copy:hover {
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    color: #3699ff;
  }

  .example-toggle {
    font-size: 1.35rem;
  }

  .example-toggle:after {
    font-family: Ki;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    line-height: 1;
    text-decoration: inherit;
    text-rendering: optimizeLegibility;
    text-transform: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    content: '';
  }

  .example-toggle.example-toggled {
    background-color: #f3f6f9;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    color: #3699ff;
    border-top-left-radius: 0.42rem;
    border-top-right-radius: 0.42rem;
  }

  .example-toggle.example-toggled:after {
    content: '';
  }

  .card-toolbar .example-toggle {
    border-radius: 0.42rem;
  }

  .example-copy:after {
    font-family: Ki;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    line-height: 1;
    text-decoration: inherit;
    text-rendering: optimizeLegibility;
    text-transform: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    content: '';
  }

  .example-copy.example-copied {
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    color: #3699ff;
  }

  .example-copy.example-copied:after {
    content: '';
  }

  .example-preview {
    border: 4px solid #f3f6f9;
    padding: 1.75rem 1.5rem;
    border-top-left-radius: 0.42rem;
    border-top-right-radius: 0.42rem;
  }

  .example-nav.nav {
    padding: 0 1.5rem;
  }

  .example-nav.nav .nav-item {
    margin: 0;
    margin-right: 1rem;
  }

  .example-nav.nav .nav-link {
    padding: 1rem 0;
  }

  .example-code {
    padding: 0;
    position: relative;
    background-color: #f3f6f9;
    border-radius: 0.42rem;
  }

  .example-code .example-copy {
    position: absolute;
    top: 0.25rem;
    right: 0.75rem;
  }

  .example-code .example-copy:hover {
    color: #3699ff;
    -webkit-transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
      -webkit-box-shadow 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
      -webkit-box-shadow 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
      box-shadow 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
      box-shadow 0.15s ease, -webkit-box-shadow 0.15s ease;
  }

  .example-code .example-highlight {
    padding: 1.75rem 1.5rem;
  }

  .example-code .tab-pane .example-highlight {
    padding: 1.75rem 1.5rem;
  }

  .example-code .example-nav + .example-copy {
    top: 0.25rem;
  }

  .example-code pre[class*='language-'] {
    margin: 0;
    overflow: auto;
    padding: 0;
    background-color: #f3f6f9;
    border-radius: 0.42rem;
  }

  .example-code pre[class*='language-'] code {
    padding: 0;
    margin: 0;
  }

  .example-preview + .example-code {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .example-preview + .example-code .example-copy {
    top: 0rem;
    height: 25px;
  }

  .example-preview + .example-code pre[class*='language-'] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

.example.example-compact {
  position: relative;
}

.example.example-compact .example-toggle.example-toggled {
  background-color: #f3f6f9;
}

.example.example-compact .example-code {
  background-color: #f3f6f9;
  border-radius: 0.42rem;
}

.example.example-compact .example-code pre[class*='language-'] {
  background-color: #f3f6f9;
}

.example.example-compact .example-code:not(.example-code-on) {
  position: absolute;
  left: -1000rem;
  top: -1000rem;
  opacity: 0;
}

.example.example-compact .example-code.example-code-on {
  display: none;
}

.example.example-compact .example-preview + .example-code {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
